﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Data;
using Newtonsoft.Json;

namespace AjaxLibrary
{
    class amstockDataFactory : IHttpHandler
    {
        public bool IsReusable
        {
            get { return true; }
        }

        public void ProcessRequest(HttpContext context)
        {
            using (JsonWriter jWriter=new JsonTextWriter(context.Response.Output))
            {
                jWriter.WriteStartObject();
                jWriter.WritePropertyName("t");
                jWriter.WriteValue(System.Guid.NewGuid().ToString());
                jWriter.WriteEndObject();
            }
        }
    }
}
